package priv.yiyuan.example.design.chain.command01;

/**
 * 余额查询命令
 * <p>
 * 具体命令
 *
 * @author YiYuan
 * @data 2025/10/9
 * @apoNote
 */
public class QueryBalanceCommand implements Command {

    @Override
    public void execute(Account account) {
        System.out.println("当前余额: " + account.getBalance());
    }

}
